/* eslint-disable */

import React from 'react';
import { Svg, Path } from 'react-native-svg';
import { getIconColor } from './helper';

export const Iconfa = ({ size, color, ...rest }) => {
  return (
    <Svg viewBox="0 0 1024 1024" width={size} height={size} {...rest}>
      <Path
        d="M0 511.994282a512.303036 511.994282 0 1 0 1024.606073 0 512.303036 511.994282 0 1 0-1024.606073 0Z"
        fill={getIconColor(color, 0, '#DF2C3F')}
      />
      <Path
        d="M512.303036 241.857349a269.48512 269.48512 0 1 1-105.205087 21.235418 268.730387 268.730387 0 0 1 105.205087-21.235418m0-45.741343c-174.62901 0-316.18703 141.55802-316.18703 316.18703S337.674026 828.490067 512.303036 828.490067 828.490067 686.932047 828.490067 512.303036 686.932047 196.116006 512.303036 196.116006z"
        fill={getIconColor(color, 1, '#F8F8F8')}
      />
    </Svg>
  );
};

Iconfa.defaultProps = {
  size: 18,
};

export default Iconfa;
